package com.opNaga.bpmp.connectingObject.association;

import com.opNaga.bpmp.BPMPElement;
import com.opNaga.bpmp.connectingObject.ConnectingObjectSource;

import java.util.Iterator;

/**
 * User: Junyi BEI
 * Date: 19/01/2012
 * Time: 14:03
 */
public interface AssociationFlowSource extends ConnectingObjectSource {
  public boolean addOutwardAssociationFlow(BPMPElement be);

  public boolean removeOutwardAssociationFlow(BPMPElement be);

  public boolean isOutwardAssociationFlowEmpty();

  public int outwardAssociationFlowSize();

  public Iterator<BPMPElement> iterateOutwardAssociationFlows();
}
